<!DOCTYPE html>

<link href="../../web/images/skin.css" rel="stylesheet" type="text/css" />
<link href="../../web/css/admin_style.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css"></style>
<script src="../../web/js/admin.js" type="text/javascript"></script>
<style type="text/css">
body {  
margin: 40px auto;  
font-family: 'trebuchet MS', 'Lucida sans', Arial;  
font-size: 14px;  
color: #444;  
}  
  
table {  
font-size: 15px;
*border-collapse: collapse; /* IE7 and lower */  
border-spacing: 0;  
width: 100%;  
}  
  
.bordered {  
border: solid #ccc 1px;  
-moz-border-radius: 6px;  
-webkit-border-radius: 6px;  
border-radius: 6px;  
-webkit-box-shadow: 0 1px 1px #ccc;  
-moz-box-shadow: 0 1px 1px #ccc;  
box-shadow: 0 1px 1px #ccc;  
}  
  
.bordered tr:hover {  
background: #fbf8e9;  
-o-transition: all 0.1s ease-in-out;  
-webkit-transition: all 0.1s ease-in-out;  
-moz-transition: all 0.1s ease-in-out;  
-ms-transition: all 0.1s ease-in-out;  
transition: all 0.1s ease-in-out;  
}  
  
.bordered td, .bordered th {  
border-left: 1px solid #ccc;  
border-top: 1px solid #ccc;  
padding: 5px;  
text-align: center;  
}  
  
.bordered th {  
background-color: #dce9f9;  
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));  
background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);  
background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9);  
background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9);  
background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9);  
background-image: linear-gradient(top, #ebf3fc, #dce9f9);  
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;  
-moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;  
border-top: none;  
text-shadow: 0 1px 0 rgba(255,255,255,.5);  
}  
  
.bordered td:first-child, .bordered th:first-child {  
border-left: none;  
}  
  
.bordered th:first-child {  
-moz-border-radius: 6px 0 0 0;  
-webkit-border-radius: 6px 0 0 0;  
border-radius: 6px 0 0 0;  
}  
  
.bordered th:last-child {  
-moz-border-radius: 0 6px 0 0;  
-webkit-border-radius: 0 6px 0 0;  
border-radius: 0 6px 0 0;  
}  
  
.bordered th:only-child{  
-moz-border-radius: 6px 6px 0 0;  
-webkit-border-radius: 6px 6px 0 0;  
border-radius: 6px 6px 0 0;  
}  
  
.bordered tr:last-child td:first-child {  
-moz-border-radius: 0 0 0 6px;  
-webkit-border-radius: 0 0 0 6px;  
border-radius: 0 0 0 6px;  
}  
  
.bordered tr:last-child td:last-child {  
-moz-border-radius: 0 0 6px 0;  
-webkit-border-radius: 0 0 6px 0;  
border-radius: 0 0 6px 0;  
}  


</style>

<body>
<table height="580px" width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr height="30px">
    <td width="17" valign="top" background="../../web/images/mail_leftbg.gif"><img src="../../web/images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="../../web/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">数据编辑</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="../../web/images/mail_rightbg.gif"><img src="../../web/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="../../web/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2" valign="top">&nbsp;</td>
        <td>&nbsp;</td>
        <td valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td width="7%">&nbsp;</td>
        <td width="87%" valign="top">
        <?php 
          $arg = $_GET['item'];
          $item = explode(":",$arg);
          //var_dump($item);
        ?>
          
        <form action="../../index.php?MemberController/editItem/<?php echo $item[0]; ?>" method="post">
        <table class="bordered" width="100%" height="144" border="1" cellpadding="0" cellspacing="0" class="line_table">
          <tr style="display:none">
            <td><input id="edit_id" name="id" type="text" value="<?php echo $item[0];?>"></td>
            <td></td>
          </tr>
		  <tr>
            <th width='30%'class='left_bt2' align='center'>姓名</th>
			<td width='70%' class='left_bt2' align='center'><input name="name" style="width:300px"   id="edit_name" style="width:150px" type="text" class="edit_item" value="<?php echo $item[1]?>" /></td>

          </tr>
          <tr>
            <th width='30%' class='left_bt2' align='center'>职位</th>
            <td width='70%' class='left_bt2' align='center'>
              <select style="width:300px"   id="edit_profession" name="profession" style="width:150px"  class="edit_item">
            	<option value="副局长" <?php if($item[2]=="副局长") {echo ("selected='selected'");}?>>副局长</option>
            	<option value="副区委" <?php if($item[2]=="副区委") {echo ("selected='selected'");}?>>副区委</option>
            	<option value="副区长" <?php if($item[2]=="副区长") {echo ("selected='selected'");}?>>副区长</option>
              </select>
            </td>
          </tr>
          <tr>
            <th width='30%' class='left_bt2' align='center'>部门</th>
            <td width='70%' class='left_bt2' align='center'>
              <select style="width:300px"   id="edit_department" name="department" style="width:150px"  class="edit_item">
            	<option value="土地规划管理局" <?php if($item[3]=="土地规划管理局") {echo ("selected='selected'");}?>>土地规划管理局</option>
            	<option value="浦东新区区委" <?php if($item[3]=="浦东新区区委") {echo ("selected='selected'");}?>>浦东新区区委</option>
            	<option value="浦东新区" <?php if($item[3]=="浦东新区") {echo ("selected='selected'");}?>>浦东新区</option>
              </select>
            </td>
          </tr>
          <tr>
            <th width='30%' class='left_bt2' align='center'>电话</th>
            <td width='70%' class='left_bt2' align='center'><input  style="width:300px"  id="edit_tel" name="tel" style="width:150px" class="edit_item" value="<?php echo $item[4]?>" /></td>
          </tr>
          <tr>
            <th width='30%' class='left_bt2' align='center'>传真</th>
            <td width='70%' class='left_bt2' align='center'><input  style="width:300px"  id="edit_tax" name="tax" style="width:150px" class="edit_item" value="<?php echo $item[5]?>" /></td>
          </tr>
          <tr>
            <th width='30%' class='left_bt2' align='center'>邮箱</th>
            <td width='70%' class='left_bt2' align='center'><input  style="width:300px"  id="edit_email" name="email" style="width:150px" type="text" class="edit_item" value="<?php echo $item[6]?>" /></td>
          </tr>		  
          </form>
          <tr>
            <th width='30%' class='left_bt2' align='center'>
				操作
            </th>
            <td width='70%' class='left_bt2' align='center'>
				<input type="submit" value="保存"/>
            </td>
          <tr>
        </table>
        </td>
      </tr>
      <tr height="200px">
        <td colspan="2">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>



      <tr>
        <td width="2%">&nbsp;</td>
        <td width="51%" class="left_txt"><img src="../../web/images/icon-mail2.gif" width="16" height="11">咨询邮箱：842232836@qq.com<br>
              <img src="../../web/images/icon-phone.gif" width="17" height="14"> 联系电话：15001767316</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td background="../../web/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr height="17px">
    <td valign="bottom" background="../../web/images/mail_leftbg.gif"><img src="../../web/images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="../../web/images/buttom_bgs.gif"><img src="../../web/images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="../../web/mages/mail_rightbg.gif"><img src="../../web/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>